import { request } from "../request"
// 获取列表
export const deliverList = (data) => {
  return request({
    url: 'quality/deliverList',
    method: 'POST',
    data
  })
}
// 删除
export const deliverListDelete = (data) => {
  return request({
    url: 'quality/deliverListDelete',
    method: 'POST',
    data
  })
}
// 导出表格
export const deliverListCreateExcel = (data) => {
  return request({
    url: 'quality/deliverListCreateExcel',
    method: 'POST',
    data,
    responseType: "blob",

  })
}

// 发货记录查询
export const deliverListSerach = (data) => {
  return request({
    url: 'quality/deliverListSerach',
    method: 'POST',
    data
  })
}
// 质保记录
export const qualityList = (data) => {
  return request({
    url: 'quality/qualityList',
    method: 'POST',
    data
  })
}
//添加质保
export const qualityListAdd = (data) => {
  return request({
    url: 'quality/qualityListAdd',
    method: 'POST',
    data
  })
}
// 获取质保编号信息
export const qualitNumberDetils = (data) => {
  return request({
    url: 'quality/qualitNumberDetils',
    method: 'POST',
    data
  })
}
// 获取膜的型号
export const filmNameListAll = (data) => {
  return request({
    url: 'quality/filmNameListAll',
    method: 'POST',
    data
  })
}
// 导出质保信息
export const QualityCreateExcel = (data) => {
  return request({
    url: 'quality/QualityCreateExcel',
    method: 'POST',
    data,
    responseType: "blob",

  })
}
// 搜索质保信息
export const qualitySerach = (data) => {
  return request({
    url: 'quality/qualitySerach',
    method: 'POST',
    data
  })
}
// 修改审核状态
export const qualitChangeStatus = (data) => {
  return request({
    url: 'quality/qualitChangeStatus',
    method: 'POST',
    data
  })
}
// 导出待审核质保信息
export const QualityCreateExcel2 = (data) => {
  return request({
    url: 'quality/QualityCreateExcel2',
    method: 'POST',
    data,
    responseType: "blob",

  })
}




